package com.ysd.lis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.common.dto.OrganizationDTO;
import com.ysd.lis.entity.SysRuleSet;
import com.ysd.lis.request.RuleSetListParam;

import java.sql.Timestamp;
import java.util.List;

/**
 * <p>
 * 规则设置 服务类
 * </p>
 *
 * @author LiuQi
 * @since 2024-01-31
 */
public interface SysRuleSetService extends IService<SysRuleSet> {

    Result getRuleSetList(RuleSetListParam ruleSetListParam);

    Result addRuleSet(SysRuleSet sysRuleSet);

    Result updateRuleSet(SysRuleSet sysRuleSet);

    Result removeRuleSet(SysRuleSet sysRuleSet);

    public List<String> createRuleCodeList(String ruleCode, int quantity);
    public List<String> createRuleCodeListByDate(String ruleCode, int quantity,Timestamp sampleDa);

    String createRuleCodeListBySampleDa(String ruleCode, int quantity,String sampleDa,int count);
    Result copyRuleByOrgId(OrganizationDTO organizationDTO);
}
